import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { ILoginGamePrx } from "./ILoginGamePrx";
import { AMI_ILoginGame_loginGame } from "./AMI_ILoginGame_loginGame";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
type int = number;
//class ILoginGamePrxHelper
    
    export  class ILoginGamePrxHelper extends RMIProxyObject implements ILoginGamePrx
    {
        constructor()
        {
            
            super();name = "ILoginGame";
            return;
        }

        public loginGame_async(arg1: AMI_ILoginGame_loginGame, arg2: int, arg3: string, arg4: string, arg5: number, arg6: string, arg7: string, arg8: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("loginGame");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            loc3.writeString(arg4);
            loc3.writeLong(arg5);
            loc3.writeString(arg6);
            loc3.writeString(arg7);
            loc3.writeString(arg8);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.ILoginGame";
    }
